<template>
    <div class="search">
        <input type="text" class="txt_search">
        <button class="btn_search">搜索</button>
    </div>
</template>

<style scoped lang="less">
.search {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    margin-top: .4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem 0;
    border-radius: .1rem;
    border: .01rem solid rgba(156, 189, 248, 1);

    input {
        height: .3rem;
        width: 75%;
        border: .01rem solid #999;
        outline-style: none;
        background-color: rgba(255, 255, 255, 0);
        border-right: none;
        box-sizing: border-box;
        color: #999;
        text-indent: .1rem;
    }

    button {
        height: .3rem;
        width: 15%;
        border: none;
        box-sizing: border-box;
        background-color: rgba(255, 255, 255, 0);
        border: .01rem solid #999;
        cursor: pointer;
    }
}
</style>